package com.books.controller.login_regis;/*
 *@Auther Zhourui
 *@data 2021/9/25  22:05
 *@Email 1605576647@qq.com
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;


@Controller
public class LoginController {
    @GetMapping("/login")
    public String loginBook() {
        return "login/login";
    }

    @GetMapping("/emaillogin")
    public String emailTologin() {
        return "login/email_login";
    }

    @GetMapping("/faceregis")
    public String faceToregister(){
        return "login/face_register";
    }

    @GetMapping("/facelogin")
    public String faceTologin(){
        return  "login/facelogin";
    }
}
